Smush\Core\CDN\CDN_Controller S

Total Complexity 44
Dependencies 10
Dependents 3
Total lines 224
Lines of code 149
Logical lines of code 91
Comment lines 32
Methods 12
Properties 4

Methods 12

Method Rating Maintainability Complexity Lines of code
toggle_cdn()
S
53 6 24
ajax_update_stats()
S
56 5 18
find_image_dimensions_for_cdn_url()
S
58 5 14
cron_update_stats()
S
62 5 10
process_cdn_status_response()
S
60 4 13
__construct()
S
54 3 21
ajax_toggle_cdn()
S
58 3 16
dns_prefetch()
S
69 4 6
add_lcp_allowed_hostname()
S
64 3 10
return_original_url_from_image_dimensions()
S
69 3 7
get_instance()
S
71 2 6
register_cdn_transform()
S
76 1 4